# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-remind
pkgver=0.18.0
pkgrel=0
pkgdesc="Python library to convert between Remind and iCalendar"
url="https://github.com/jspricke/python-remind"
arch="noarch"
license="GPL-3.0-only"
depends="python3 remind py3-dateutil py3-tz py3-tzlocal py3-vobject"
makedepends="
	py3-coverage
	py3-nose
	py3-setuptools
	py3-wheel
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/jspricke/python-remind/archive/v$pkgver.tar.gz"
options="!check"
builddir="$srcdir/python-remind-$pkgver"

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="." nosetests
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
0eeff9ac9f238ae682fd9a5d86a1e977a90f1a15c4871abebf324cc07172d7e9c9b43704e29d7f7ea53fb9092608b037d444d4fc4dc55eb3499246a8ba6c4784  py3-remind-0.18.0.tar.gz
"
